package mode.states18;

public class Refund extends AbstractEvent{
    @Override
    public void refund(Shopping shopping, Boolean isConfirm) {
        if(isConfirm){
            System.out.println("抱歉客官，给您带来不好的购物体验了，已为您退款，请见谅");
            shopping.setEvent(Shopping.FINISH_STATE);
        }
    }

}
